<table id="directcoupon_table" ref="DirectCoupon" class="table" width="100%" border="0" cellspacing="1" cellpadding="0">
		<thead class="state-header">
		  <tr>
		  
		  	  <td  width="40" tdid="0" align="center">
			 	选择
			  </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' tdid="1" ref="id"   title="编号">编号
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"title")||fields=="*"||(!fields && true)}}' tdid="2" ref="title"   title="优惠券名称">优惠券名称
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"count")||fields=="*"||(!fields && true)}}' tdid="3" ref="count"   title="生成数量">生成数量
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"discount")||fields=="*"||(!fields && true)}}' tdid="4" ref="discount"   title="折扣">折扣
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"deadline")||fields=="*"||(!fields && true)}}' tdid="5" ref="deadline"   title="截止时间">截止时间
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"directObject")||fields=="*"||(!fields && true)}}' tdid="6" ref="directObject"   title="定向投放对象">定向投放对象
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"accumulatedFull")||fields=="*"||(!fields && true)}}' tdid="7" ref="accumulatedFull"   title="消费累计满领">消费累计满领
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"fullDay")||fields=="*"||(!fields && true)}}' tdid="8" ref="fullDay"   title="注册满天数领">注册满天数领
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"desigUser")||fields=="*"||(!fields && true)}}' tdid="9" ref="desigUser"   title="指定用户">指定用户
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"received")||fields=="*"||(!fields && true)}}' tdid="10" ref="received"   title="已领取数量">已领取数量
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"used")||fields=="*"||(!fields && true)}}' tdid="11" ref="used"   title="已使用数量">已使用数量
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' tdid="12" ref="updateTime"   title="修改时间">修改时间
			 </td>
			 <td width="{{fields=='*'?'140':''}}" lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' tdid="13" ref="addTime"   title="添加时间">添加时间
			 </td>
			 <td width="{{fields=='*'?'120':''}}" lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' tdid="14" ref="status"   title="状态">状态
			 </td>
			<td  width="65" tdid="15" class="options" ref="options">操作</td>
			<td class="operation" tdid="16" ref="operation" style="width:120px;"> 
				&nbsp;
			</td>
		  </tr>
		 </thead>	
		 <tbody>
		 
		  <tr lz:for="{{list}}" id="{{item.id}}" >
		  	<td class="td-checkbox" align="center">
				<input class="check" name="check" type="checkbox" value="{{item.id}}"/>
			</td>
				<td lz:if='{{lz.idin(fields,"id")||fields=="*"||(!fields && true)}}' ref="id" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.id$ || item.id}}
				</td>
				<td lz:if='{{lz.idin(fields,"title")||fields=="*"||(!fields && true)}}' ref="title" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.title$ || item.title}}
				</td>
				<td lz:if='{{lz.idin(fields,"count")||fields=="*"||(!fields && true)}}' ref="count" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.count$ || item.count}}
				</td>
				<td lz:if='{{lz.idin(fields,"discount")||fields=="*"||(!fields && true)}}' ref="discount" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.discount$ || item.discount}}
				</td>
				<td lz:if='{{lz.idin(fields,"deadline")||fields=="*"||(!fields && true)}}' ref="deadline" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.deadline$ || item.deadline}}
				</td>
				<td lz:if='{{lz.idin(fields,"directObject")||fields=="*"||(!fields && true)}}' ref="directObject" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.directObject$ || item.directObject}}
				</td>
				<td lz:if='{{lz.idin(fields,"accumulatedFull")||fields=="*"||(!fields && true)}}' ref="accumulatedFull" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.accumulatedFull$ || item.accumulatedFull}}
				</td>
				<td lz:if='{{lz.idin(fields,"fullDay")||fields=="*"||(!fields && true)}}' ref="fullDay" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.fullDay$ || item.fullDay}}
				</td>
				<td lz:if='{{lz.idin(fields,"desigUser")||fields=="*"||(!fields && true)}}' ref="desigUser" class="inc {{index%2==0?'odd':'even'}} td " relate="{{item.desigUser}}">
					 
					 
					 	<a onclick="window.href('{{basePath}}manage/users/member.detail.html?key={{item.desigUser}}')" href="javascript:void(0);">
					 	{{item.desigUser$ || item.desigUser}}</a>
				</td>
				<td lz:if='{{lz.idin(fields,"received")||fields=="*"||(!fields && true)}}' ref="received" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.received$ || item.received}}
				</td>
				<td lz:if='{{lz.idin(fields,"used")||fields=="*"||(!fields && true)}}' ref="used" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.used$ || item.used}}
				</td>
				<td lz:if='{{lz.idin(fields,"updateTime")||fields=="*"||(!fields && true)}}' ref="updateTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.updateTime$ || item.updateTime}}
				</td>
				<td lz:if='{{lz.idin(fields,"addTime")||fields=="*"||(!fields && true)}}' ref="addTime" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.addTime$ || item.addTime}}
				</td>
				<td lz:if='{{lz.idin(fields,"status")||fields=="*"||(!fields && true)}}' ref="status" class="inc {{index%2==0?'odd':'even'}} td ">
					 
					 
					 	{{item.status$ || item.status}}
				</td>
		  
		  
			<td class="options">
			</td>
			<td class="operation {{index%2==0?'odd':'even'}}">
				<a onclick='navigate("/manage/coupons/directcoupon.edit.html",{edittype:"update",id:"{{item.id}}"},window)' href="javascript:void(0)">修改</a>
				<a class="inc-h" onclick='top.$.open("/manage/coupons/directcoupon.edit.html",{edittype:"detail",id:"{{item.id}}"},window)' href="javascript:void(0);">详情</a>
			</td>
		  </tr>
		 
		 </tbody>
		 		 
	  </table>